PerlEz.rul

This script encapsulates the PerlEz.dll component available from ActiveState's distribution of Perl which can be obtained here:

www.activestate.com/Products/ActivePerl/

Using this DLL your installation can take advantage of Perl's powerful string processing features and give you and your users the ability to customize your installation without rebuiling it. 

Simple perl scripts can be embedded into InstallScript ( or stored in the string table ) to be evaluated directly. Scripts that use fileI/O seem to work better when executed outside of InstallScript using pezLoadInitializeParser and/or pezFunctionCall instead of pezEvaluatePerlString.
The demo project ( created with IS6.1 ) describes how to use each of the pezXXXX functions. ( **NOTE: the demo project does NOT include the PerlEz.dll component. You will need to download ActivePerl and add PerlEz.dll to the demo project if you wish to recompile it** ).

This script has been tested under IS6Pro and IS7Dev. It should also work under IS7Pro and IS8Dev. 

The PerlEz.dll component does not require Perl to exist on the target system. However if you execute a script that requires a specific Perl Module ( such as Net::Ping ) then that module/package will need to be included in your installation or will have to be installed on the target computer.



enjoy.
